package com.guoguo.commons.constant;

public enum RedisKeyConstant {

    verify_code("verify_code:", "验证码"),
    seckill_vouchers("seckill_vouchers:", "秒杀券的key"),
    lock_key("lockby:", "分布式锁的key");

    private String key;
    private String desc;

    public String getKey() {
        return key;
    }

    public String getDesc() {
        return desc;
    }

    RedisKeyConstant(String key, String desc) {
        this.key = key;
        this.desc = desc;
    }

}